package com.caibq.service.Impl;

import com.caibq.service.ICallBackService;
import org.springframework.stereotype.Service;

/**
 * projectName: demoBox
 *
 * @author: caicai
 * time: 2024/1/3 15:12 周三
 * description:
 */
@Service
public class Work {
    /**
     * 业务逻辑
     * @param callBackService
     */
    public void doWork(ICallBackService callBackService) throws InterruptedException {
        System.out.println("开始回调");
        callBackService.callback("第一个参数","第二个参数");
        System.out.println("回调结束");
    }
}
